package com.xunshibao.action.oauth;

import java.util.ResourceBundle;

public class OAuthConfig {
	public static final String RENREN_APPID;
	public static final String RENREN_APIKEY;
	public static final String RENREN_SECRETKEY;
	
	public static final String KAIXIN_OPENID_APPID;
	public static final String KAIXIN_OPENID_APIKEY;
	public static final String KAIXIN_OPENID_SECRETKEY;
	static {
		ResourceBundle bundle = ResourceBundle.getBundle("oauth");
		RENREN_APPID = bundle.getString("renren.appid").trim();
		RENREN_APIKEY = bundle.getString("renren.apikey").trim();
		RENREN_SECRETKEY = bundle.getString("renren.secretKey").trim();
		
		KAIXIN_OPENID_APPID = bundle.getString("kaixin001.openid.appid").trim();
		KAIXIN_OPENID_APIKEY = bundle.getString("kaixin001.openid.appkey").trim();
		KAIXIN_OPENID_SECRETKEY = bundle.getString("kaixin001.openid.secretKey").trim();
	}
}
